package com.szpx.entity;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;

@Data
@Table(name = "chw_film_information")
public class FilmInformation {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer iid;  //资讯id

    private String finfor; //电影信息

    private String image; //电影图片

    private String evaluate; //评价

    private Integer score; //评分

    private  String nreport; //新闻报道

    @Override
    public String toString() {
        return "FilmInformation{" +
                "iid=" + iid +
                ", finfor='" + finfor + '\'' +
                ", image='" + image + '\'' +
                ", evaluate='" + evaluate + '\'' +
                ", score=" + score +
                ", nreport='" + nreport + '\'' +
                '}';
    }

    public Integer getIid() {
        return iid;
    }

    public void setIid(Integer iid) {
        this.iid = iid;
    }

    public String getFinfor() {
        return finfor;
    }

    public void setFinfor(String finfor) {
        this.finfor = finfor;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getEvaluate() {
        return evaluate;
    }

    public void setEvaluate(String evaluate) {
        this.evaluate = evaluate;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getNreport() {
        return nreport;
    }

    public void setNreport(String nreport) {
        this.nreport = nreport;
    }
}
